package yunquan.wang.base.web;

public class TreePojo {
	private String id;// 当前ID
	private String pId;// 父ID
	private String name;// 显示名称
	private Boolean open = false;// 默认展开
	private Boolean checked = false;

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public TreePojo(String id, String pId, String name) {
		this.id = id;
		this.pId = pId;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "TreePojo [id=" + id + ", pId=" + pId + ", name=" + name + "]";
	}

}
